package com.hchw.a01.activiti;

import org.flowable.engine.delegate.DelegateExecution;
import org.flowable.engine.delegate.JavaDelegate;

/**
 * @author Felix Huang
 * @date 2021/08/16 16:51
 **/
public class CallExternalSystemDelegate implements JavaDelegate {
    public void execute(DelegateExecution delegateExecution) {
        System.out.println("Calling the external system for employee "
        + delegateExecution.getVariable("employee"));
    }
}
